package com.redis.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @ClassName User
 * @description: TODO
 * @author: 朱同学
 * @Date 2021/4/21 21:17
 **/
@Data
@NoArgsConstructor
@ToString
public class User
{

    //private static final long serialVersionUID = -1L;


    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    private String name;

    private Integer age;

}
